import Vue from 'vue'
import Vuex from 'vuex'
import { StoreClassInstall } from '@/plugins/store-decorators'
import { AppTest } from '@/store_module/test_store'

Vue.use(Vuex)

// 声明这个对象
declare module 'vue/types/vue' {
    interface Vue {
        $storeTS: AppTest;
    }
}

let { module_item } = StoreClassInstall({ name: "$storeTS", store_type: AppTest });


export default new Vuex.Store(module_item || {});
